<%-- 
    Document   : ListarMensagens
    Created on : 09/12/2011, 17:09:16
    Author     : Milton
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="Interface/css/estilos.css"/>
        <title>JSP Page</title>
    </head>
    <body>
        
        <div id="wrap" >
             <div align="center" width="100%" height="100%" >
                 <h2>Mensagens Enviadas</h2>
                <hr></hr>
                <% String enviada = (String) request.getAttribute("msnEnv"); 
                    if(enviada!=null){
                    %>
                    <%= enviada %>
                    <%}%>
            </div>
           
             <div align="center" width="100%" height="100%"  >
                <h2>Mensagens Recebidas</h2>
                <hr></hr>
                <% String recebida = (String) request.getAttribute("msnRec"); 
                    if(recebida!=null){
                    %>
                    <%= recebida %>
                    <%}%>
            </div>
        </div>
            
            <div>
            <div align="center" width="100%" height="100%" >
            <% String alert = (String) request.getAttribute("alertas"); 
            if(alert!=null){
            %>
            <%= alert %>
            <%}%>
            </div>
            </div>
        
    </body>
</html>
